package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="LotteryTickets对象", description="")
public class LotteryTickets implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "活动id")
    private Integer activityId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "活动参与记录id")
    private Integer activityRecordId;

    @ApiModelProperty(value = "第几期")
    private Integer session;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "奖品sku id")
    private Integer packageSkuId;

    @ApiModelProperty(value = "中奖的奖品id")
    private Integer skuId;

    @ApiModelProperty(value = "1参与获得、2助力获得")
    private Integer sourceType;

    @ApiModelProperty(value = "助力者id")
    private Integer inviteeId;

    @ApiModelProperty(value = "助力记录")
    private Integer inviteRecordId;

    @ApiModelProperty(value = "0等待开奖 1已中奖 2未中奖")
    private Boolean status;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;


}
